home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Vk
/
VkFileSelectionDialog.z
/
VkFileSelectionDialog
Wrap
Text File
|
1998-10-20
|
8KB
|
199 lines
VVVVkkkkFFFFiiiilllleeeeSSSSeeeelllleeeeccccttttiiiioooonnnnDDDDiiiiaaaalllloooogggg((((3333xxxx)))) VVVVkkkkFFFFiiiilllleeeeSSSSeeeelllleeeeccccttttiiiioooonnnnDDDDiiiiaaaalllloooogggg((((3333xxxx))))
NNNNAAAAMMMMEEEE
VkFileSelectionDialog - Dialog manager for file selection dialogs
IIIINNNNHHHHEEEERRRRIIIITTTTSSSS FFFFRRRROOOOMMMM
VkDialogManager : VkComponent : VkCallbackObject
HHHHEEEEAAAADDDDEEEERRRR FFFFIIIILLLLEEEE
#include <Vk/VkFileSelectionDialog.h>
PPPPUUUUBBBBLLLLIIIICCCC PPPPRRRROOOOTTTTOOOOCCCCOOOOLLLL SSSSUUUUMMMMMMMMAAAARRRRYYYY
CCCCoooonnnnssssttttrrrruuuuccccttttoooorrrr////DDDDeeeessssttttrrrruuuuccccttttoooorrrr
VkFileSelectionDialog(const char* name);
virtual void ~VkFileSelectionDialog(void);
AAAAcccccccceeeessssssss FFFFuuuunnnnccccttttiiiioooonnnnssss
const char* fileName(void);
CCCCoooonnnnttttrrrroooolllllllliiiinnnngggg tttthhhheeee DDDDiiiiaaaalllloooogggg
void setDirectory(const char* directory);
void setFilterPattern(const char* pattern);
PPPPRRRROOOOTTTTEEEECCCCTTTTEEEEDDDD PPPPRRRROOOOTTTTOOOOCCCCOOOOLLLL SSSSUUUUMMMMMMMMAAAARRRRYYYY
AAAAcccccccceeeessssssss ffffuuuunnnnccccttttiiiioooonnnnssss
XmFileSelectionBoxCallbackStruct* callData(void);
CCCCLLLLAAAASSSSSSSS DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
This class displays a Motif file selection dialog using the caching
facilities of the VkDialogManager class. Applications can use the
global dialog _t_h_e_F_i_l_e_S_e_l_e_c_t_i_o_n_D_i_a_l_o_g to prompt users for file names.
FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNNSSSS
ccccaaaallllllllDDDDaaaattttaaaa(((())))
XmFileSelectionBoxCallbackStruct* callData(void);
Returns the file selection dialog's callData structure. This
structure is filled in by the file selection dialog with every
callback.
VVVVkkkkFFFFiiiilllleeeeSSSSeeeelllleeeeccccttttiiiioooonnnnDDDDiiiiaaaalllloooogggg(((())))
VkFileSelectionDialog(const char* name);
Initializes a VkFileSelectionDialog object.
PPPPaaaaggggeeee 1111
VVVVkkkkFFFFiiiilllleeeeSSSSeeeelllleeeeccccttttiiiioooonnnnDDDDiiiiaaaalllloooogggg((((3333xxxx)))) VVVVkkkkFFFFiiiilllleeeeSSSSeeeelllleeeeccccttttiiiioooonnnnDDDDiiiiaaaalllloooogggg((((3333xxxx))))
~~~~VVVVkkkkFFFFiiiilllleeeeSSSSeeeelllleeeeccccttttiiiioooonnnnDDDDiiiiaaaalllloooogggg(((())))
virtual void ~VkFileSelectionDialog(void);
Frees storage associated with the a VkFileSelectionDialog. The
global file selection dialog _t_h_e_F_i_l_e_S_e_l_e_c_t_i_o_n_D_i_a_l_o_g should not be
freed.
cccchhhhaaaarrrr****(((())))
const char* fileName(void);
Returns the filename selected by the user. This string should not
be freed by the application.
sssseeeettttDDDDiiiirrrreeeeccccttttoooorrrryyyy(((())))
void setDirectory(const char* directory);
Sets current directory of the dialog.
sssseeeettttFFFFiiiilllltttteeeerrrrPPPPaaaatttttttteeeerrrrnnnn(((())))
void setFilterPattern(const char* pattern);
Sets the filter pattern used by the dialog to determine which
filenames are displayed in the list box.
EEEEXXXXAAAAMMMMPPPPLLLLEEEE
#include <iostream.h>
#include <Vk/VkFileSelectionDialog.h>
// ...
theFileSelectionDialog->setDirectory("/usr/tmp");
if(theFileSelectionDialog->postAndWait( )
== VkDialogManager::OK)
cout << "File name "
<< theFileSelectionDialog->fileName()
<< '0 << flush;
IIIINNNNHHHHEEEERRRRIIIITTTTEEEEDDDD MMMMEEEEMMMMBBBBEEEERRRR FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNNSSSS
IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm VVVVkkkkDDDDiiiiaaaallllooooggggMMMMaaaannnnaaaaggggeeeerrrr
show(), hide(), prepost(),
setTitle(), setButtonLabels(), unpost(), unpostAll(),
centerOnScreen(), lastPosted(), post(), postModal(), postBlocked(),
postAndWait(), _action, _showOK, _showCancel, _showApply,
_allowMultipleDialogs, _minimizeMultipleDialogs, prepostCallback
PPPPaaaaggggeeee 2222
VVVVkkkkFFFFiiiilllleeeeSSSSeeeelllleeeeccccttttiiiioooonnnnDDDDiiiiaaaalllloooogggg((((3333xxxx)))) VVVVkkkkFFFFiiiilllleeeeSSSSeeeelllleeeeccccttttiiiioooonnnnDDDDiiiiaaaalllloooogggg((((3333xxxx))))
IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm VVVVkkkkCCCCoooommmmppppoooonnnneeeennnntttt
installDestroyHandler(), removeDestroyHandler(), widgetDestroyed(),
setDefaultResources(), getResources(), callCallbacks(),
VkComponent(), manage(), unmanage(), baseWidget(), okToQuit(),
_name, _baseWidget, _w, deleteCallback
IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm VVVVkkkkCCCCaaaallllllllbbbbaaaacccckkkkOOOObbbbjjjjeeeecccctttt
callCallbacks(), addCallback(), removeCallback(),
removeAllCallbacks()
SSSSEEEEEEEE AAAALLLLSSSSOOOO
SgFileSelectionBox(3X), XmFileSelectionBox(3X)
VkDialogManager, VkComponent
_V_i_e_w_K_i_t _P_r_o_g_r_a_m_m_e_r'_s _G_u_i_d_e
_T_h_e _X _W_i_n_d_o_w _S_y_s_t_e_m, DEC Press, Bob Sheifler and Jim Gettys
_T_h_e _X _W_i_n_d_o_w _S_y_s_t_e_m _T_o_o_l_k_i_t, DEC Press, Paul Asente and Ralph Swick
_T_h_e _O_S_F/_M_o_t_i_f _P_r_o_g_r_a_m_m_e_r_s _R_e_f_e_r_e_n_c_e, Prentice Hall, OSF
PPPPaaaaggggeeee 3333